import React from "react"
import { useParams, useLocation } from "react-router-dom"

// class Detail extends React.Component {
// 	render(): React.ReactNode {
// 		console.log("this.props ===> ", this.props)
// 		return <div>Detail</div>
// 	}
// }

const Detail: React.FC = props => {
	const params = useParams()
	const location = useLocation()
	console.log("params ===> ", params)
	console.log("props ===> ", props)
	console.log("useLocation ===> ", location)
	return <div>Detail</div>
}

export default Detail
